package com.example.fw;

import org.openqa.selenium.By;

public class NavigationHelper extends HelperWithWebDriverBase {
	
	public NavigationHelper (ApplicationManager manager){
		super(manager);
	}
	
	protected void gotoGroupListPage() {
//		if (getCurrentUrl() != "http://localhost/addressbookv4.1.4/php") {
		click(By.linkText("groups"));
//	}
	}
	
	
	protected void goToContactCreatePage() {
		click(By.linkText("add new"));
	}
	
	protected void openMainPage() {
//		if (we are not on the main page) {}

		openUrl("http://localhost/addressbookv4.1.4/");
	}
	
	
}
